/* 去除浏览器公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    /* 相对路径的基准路径就是当前文件所在路径!! */
    background-image: url(../image/gdyg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/*body::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: -50px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-image: url(../image/gdyg.jpg);*/
/*    opacity: 0.8; !* 设置透明度为 50% *!*/
/*    z-index: -1; !* 将伪元素置于元素下方 *!*/
/*}*/
.nav {
    width: 100%;
    height: 50px;
    background-color: rgba(50, 50, 50, 0.4);
    color: white;
    display: flex;
    align-items: center;
}

.nav img {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav .spacer {
    width: 70%;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

.container {
    width: 1000px;
    height: calc(100% - 50px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-left {
    height: 100%;
    width: 200px;
}

.container-right {
    height: 100%;
    width: 795px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: auto;
}

.card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
}

.card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}

.card h3 {
    text-align: center;
    padding: 10px;
}

.card a {
    text-decoration: none;
    text-align: center;
    display: block;
    color: #777;
    padding: 10px;
}

.card .counter {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}